import React, { useState } from 'react';
import { Button } from 'antd';
import { SearchOutlined } from '@ant-design/icons';
import Prompt from './prompt'



export default function Openfile() {

  function onclick() {
    const z = prompt()
    console.group(z)
  }


  return <Button onClick={onclick} type="dashed" icon={<SearchOutlined />}>
    Search
</Button>
}